<template>
  <!-- 头部 “top” -->
  <div class="top">
    <div class="log">
      <img src="../assets/Search/logo.png" alt="">
    </div>
    <!-- 搜索 “seek” -->
    <div class="seek">
      <input type="text">
      <img src="../assets/Search/fangdajing.png" alt="">
    </div>
    <!-- 消息“news” -->
    <div class="news">
      <img src="../assets/Search/xiaoxi.png" alt="">
      <p>消息</p>
    </div>
  </div>

</template>

<script>
export default {
  name: "Search",
  data: function() {
    return {};
  }
};
</script>

<style lang="scss" scoped>
.top {
  width: 100%;
  height: 40px;
  // background-color: red;
  display: flex;
  justify-content: space-around;

}
.log {
  width: 52px;
  height: 32px;
  margin-top: 5px;
}
.log img {
  width: 100%;
}
.seek {
  width: 270px;
  height: 33px;
  position: relative;
  margin-top: 6px;
}
.seek input {
  width: 100%;
  height: 30px;
  border-radius: 5px;
  outline: none;
  border: none;
  background-color: #f4f4f4;
}
.seek img {
  width: 16px;
  height: 16px;
  position: absolute;
  left: 10px;
  top: 7px;
}
.news {
  width: 28px;
  height: 35px;
  // background-color: blue;
  line-height: 15px;
  text-align: center;
  margin-top: 5px;
}
.news img {
  width: 16px;
  height: 16px;
}
.news p {
  font-size: 8px;
  color: #fff;
}
</style>